package com.xltt.watchserver.bean;

import java.io.Serializable;

/**
 * 用户账号密码
 */
public class User implements Serializable {
    public static final String USER_NAME = "username";
    public static final String PASSWORD = "password";
    private String username;
    private String password;
    private int result;//（esmin激活成功 = 1, esmin=-1未能读取到imei或iccid）

    public User(){}

    public User(String username, String password, int result) {
        this.username = username;
        this.password = password;
        this.result = result;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", result=" + result +
                '}';
    }
}
